package com.lemon.domain;

import java.util.Date;

/**
 * 角色
 */
public class Role {

	private Long id;
	// 角色名称
	private String name;
	// 描述
	private String description;
	// 对应的权限ID
	private Long authorizeId;
	// 权限
	private Authorize authorize;
	// 创建时间
	private Date createTime;
	// 修改时间
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getAuthorizeId() {
		return authorizeId;
	}

	public void setAuthorizeId(Long authorizeId) {
		this.authorizeId = authorizeId;
	}

	public Authorize getAuthorize() {
		return authorize;
	}

	public void setAuthorize(Authorize authorize) {
		this.authorize = authorize;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", name=" + name + ", description=" + description + ", authorizeId=" + authorizeId
				+ ", authorize=" + authorize + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}

}
